package com.gmako.entity;

/**
 * Userinfo entity. @author MyEclipse Persistence Tools
 */

public class Userinfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private String username;
	private String useremail;
	private String pwd;
	private Integer type;
	private Integer cityAdress;
	private Integer commend;

	// Constructors

	/** default constructor */
	public Userinfo() {
	}

	/** full constructor */
	public Userinfo(String username, String useremail, String pwd,
			Integer type, Integer cityAdress, Integer commend) {
		this.username = username;
		this.useremail = useremail;
		this.pwd = pwd;
		this.type = type;
		this.cityAdress = cityAdress;
		this.commend = commend;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUseremail() {
		return this.useremail;
	}

	public void setUseremail(String useremail) {
		this.useremail = useremail;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getCityAdress() {
		return this.cityAdress;
	}

	public void setCityAdress(Integer cityAdress) {
		this.cityAdress = cityAdress;
	}

	public Integer getCommend() {
		return this.commend;
	}

	public void setCommend(Integer commend) {
		this.commend = commend;
	}

}